﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowAnnounce.aspx.cs" Inherits="ZX.WebApp.EditWidows.SysManager.ShowAnnounce" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
	<HEAD>
		<title></title>
            <style type="text/css">
            .title2{
                font-weight:bold;
                font-size:14pt;
                }
   
    </style>
		<script language="javascript">
		
			var PageLoadFlag=false;
			//页面加载
			
			
			//下载附件
			function Ddl_Accessoriesonchange(){
				ddl=document.all.Ddl_Accessories;
				if(ddl.selectedIndex==0)return;
				DownLoadAccessories(ddl.options[ddl.selectedIndex].value,ddl.options[ddl.selectedIndex].text);
			}
			
			//下载附件
			function DownLoadAccessories(FID,FName){
				//var url='../include/DownLoadAccessories.aspx?ID='+FID+'&Name='+Coding(FName);
				var url='../include/DownLoadAccessories.aspx?ID='+FID;
				var oNewIframe = document.createElement("IFRAME");
				oNewIframe.ID="downFileIframe";
				oNewIframe.style.display="none";
				document.body.appendChild(oNewIframe);
				oNewIframe.src=url;
			}
			
			//编码
			function Coding(str){
				var re1=/</g;
				var re2=/>/g;	
				var re3=/"/g;
				var re4=/&/g;
				var re5=/%/g;
				
				str=str.replace(re5,"%5");
				str=str.replace(re4,"%4");
				str=str.replace(re3,"%3");
				str=str.replace(re2,"%2");
				str=str.replace(re1,"%1");
				
   				return str; //"
			}
			
		</SCRIPT>
	</HEAD>
	<body >
		<form id="Form1" method="post" runat="server">

        <div class="title2" style="text-align:center;width:100%;height:100%;">
            <asp:label id="Lb_Title" runat="server" CssClass="title2"></asp:label>
        </div>

        <div style="width:100%;height:100%;">
		    <table cellSpacing="0" cellPadding="3" width="100%" border="0" align="center">
			    <tr>
				    <td style="WIDTH: 316px; HEIGHT: 26px">附件信息：
					    <asp:dropdownlist id="Ddl_Accessories" style="DISPLAY: none" runat="server" Width="150px">
						    <asp:ListItem Value="请选择附件下载">请选择附件下载</asp:ListItem>
					    </asp:dropdownlist><asp:label id="lblAttach" Runat="server"></asp:label></td>
				    <td align="left">发布日期：<asp:label id="Lb_Time" runat="server"></asp:label></td>
			    </tr>
			    <tr>
				    <td colSpan="2">
					    <hr style="BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-BOTTOM: #000000 1px dashed"
						    width="100%" noShade SIZE="1">
				    </td>
			    </tr>
			    <tr>
				    <td colSpan="2"><asp:label id="Lb_Content" style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; OVERFLOW-X: auto; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid"
						    runat="server" Width="100%" Height="100%"></asp:label></td>
			    </tr>
		    </table>
        </div>

		</form>
	</body>
</HTML>
